// 内容管理模块类型定义

export interface Column {
  id: number;
  name: string;
  description?: string;
  order?: number;
}

export interface Article {
  id: number;
  title: string;
  summary?: string;
  cover?: string;
  content: string;
  column: Column;
  author: string;
  created_at: string;
  updated_at: string;
  is_published: boolean;
}

// 分页响应类型
export interface PaginatedResponse<T> {
  count: number;
  next: string | null;
  previous: string | null;
  results: T[];
} 